<head>
  <style>
    #outer {
      width: 400px;
      background: red;
    }
    #inner {
      height: 100px;
      width: 100px;
      background: green;
    }
  </style>
</head>
<body>
<div id="outer"><div id="inner"></div></div>
</body>
